package org.hepotaiya.sample;

import org.zzz.hepotaiya.container.guice.GuiceContainerWrapper;
import org.zzz.hepotaiya.executor.CallableExecutor;

import com.google.inject.Guice;

public class GuiceMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception {
		GuiceContainerWrapper container = new GuiceContainerWrapper();
		container.setInjector(Guice.createInjector());
		CallableExecutor executor = new CallableExecutor();
		executor.setContainer(container);
		executor.doExecute("org.hepotaiya.sample.guice");
	}

}
